//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.come.control;

import org.come.Frame.NPCJfram;
import org.come.action.FromServerAction;
import org.come.bean.NPCDialog;
import org.come.until.GsonUtil;

public class NPCDialogControl2 implements FromServerAction {
    public NPCDialogControl2() {
    }

    @Override
    public void controlMessFromServer(String mes, String type) {
        NPCDialog npcDialog = (NPCDialog)GsonUtil.getGsonUtil().getgson().fromJson(mes, NPCDialog.class);
        if (npcDialog != null) {
            NPCJfram.getNpcJfram().getNpcjpanel().npc(npcDialog);
        }
    }
}
